home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / tex-k-archive.gz / tex-k-archive / 000330_jp107@amtp.cam.ac.uk_Wed Feb 23 11:07:35 1994.msg < prev    next >
Internet Message Format  |  1994-10-11  |  3KB

  1. Received: from inn.amtp.cam.ac.uk by cs.umb.edu with SMTP id AA21120
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Wed, 23 Feb 1994 06:07:58 -0500
  3. Return-Path: <J.S.Peatfield@damtp.cambridge.ac.uk>
  4. Received: from spock by inn.amtp.cam.ac.uk with Smail-3.1.28.1
  5.      id m0pZHRI-0001ucC; Wed, 23 Feb 94 11:07 GMT
  6. Received: by spock (5.65/DAMTP 2.0-Client (spock MX-hub grey.amtp.cam.ac.uk))
  7.     id AA24751; Wed, 23 Feb 1994 11:07:35 GMT
  8. Date: Wed, 23 Feb 1994 11:07:35 GMT
  9. Message-Id: <9402231107.AA24751%spock@damtp.cambridge.ac.uk>
  10. To: isclyhb@leonis.nus.sg, tex-k@cs.umb.edu
  11. Subject: Re:  What is happening?
  12. Cc: jp107@amtp.cam.ac.uk
  13. From: Jon Peatfield <J.S.Peatfield@amtp.cam.ac.uk>
  14.  
  15. How many times does this need saying?
  16.  
  17. If you are compiling xdvik/dvipsk with a "clever" c compiler on
  18. certain machines not in ANSI mode then you need to add a couple of
  19. casts to get things right w.r.t the is this font close enough code.
  20.  
  21. --cut-here--
  22. *** loadfont.c.orig    Wed Feb  2 15:07:01 1994
  23. --- loadfont.c    Tue Feb  8 18:04:28 1994
  24. ***************
  25. *** 150,156 ****
  26.            dontmakefont = 1;
  27.            error(errbuf) ;
  28.          }
  29. !      else if (!kpse_check_bitmap_tolerance (dpi_ret, fd->dpi))
  30.          {
  31.              fd->loadeddpi = dpi_ret ;
  32.              fd->alreadyscaled = 0 ;
  33. --- 150,156 ----
  34.            dontmakefont = 1;
  35.            error(errbuf) ;
  36.          }
  37. !      else if (!kpse_check_bitmap_tolerance ((double)dpi_ret, (double)fd->dpi))
  38.          {
  39.              fd->loadeddpi = dpi_ret ;
  40.              fd->alreadyscaled = 0 ;
  41. --cut-here--
  42.  
  43. --cut-here--
  44. *** dvi_init.c.orig    Wed Feb  2 15:07:52 1994
  45. --- dvi_init.c    Mon Feb  7 09:41:34 1994
  46. ***************
  47. *** 191,197 ****
  48.           free(fontp->fontname);
  49.           fontp->fontname = font_found;
  50.       }
  51. !     else if (!kpse_check_bitmap_tolerance (size_found / 5.0, dpi))
  52.             Fprintf(stderr, "xdvi: Font %s at %d not found; using %d instead.\n",
  53.             fontp->fontname, dpi, (size_found + 2) / 5);
  54.       fontp->fsize = (float) size_found / 5;
  55. --- 191,197 ----
  56.           free(fontp->fontname);
  57.           fontp->fontname = font_found;
  58.       }
  59. !     else if (!kpse_check_bitmap_tolerance (size_found / 5.0, (double)dpi))
  60.             Fprintf(stderr, "xdvi: Font %s at %d not found; using %d instead.\n",
  61.             fontp->fontname, dpi, (size_found + 2) / 5);
  62.       fontp->fsize = (float) size_found / 5;
  63. --cut-here--
  64.  
  65. I've no idea why your MF is buggered though.
  66.  
  67. -- Jon
  68.  
  69. Jon Peatfield, Computer Officer, the DAMTP, University of Cambridge
  70. Telephone: (+44 223) 3-37852     Mail: J.S.Peatfield@amtp.cam.ac.uk
  71.  
  72.    Talk to your users about PP abuse, before someone else does!